package com.xlh.dto.problem;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xlh.param.problem.ProblemParam;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author sy
 */
@Data
public class ProblemDTO {

    private Long id;

    private String problemName;

    private Long userId;

    private Integer role;

    private String roleName;

    private String userName;

    private Long courseId;

    private String courseName;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date problemTime;

    private int problemCount;

    private String problemContent;

    private List<ReplyDTO> listReply;

    private Boolean forbidden;

    private ProblemParam problemParam;

    private String icon;


}
